public class Test {
    public static void main(String[] args) {

        BinarySearchTree binarySearchTree = new BinarySearchTree();
        int[] array = {12,4,5,10,8};
        for (int x : array){
            binarySearchTree.insert(x);
        }
        binarySearchTree.insert(3);
        binarySearchTree.removeNode(4);
        System.out.println("hh");
    }
}
